from django.db import models


class TemplateInfo(models.Model):
    name = models.CharField(max_length=20, verbose_name='模板名称')
    template_id = models.CharField(max_length=50, db_index=True, verbose_name='模板id')
    template_data = models.TextField(default='', verbose_name='模板数据')

    class Meta:
        db_table = "template_info"


class CommemorationDate(models.Model):
    date = models.DateField(default='', verbose_name='日期')
    name = models.CharField(max_length=50, default='', verbose_name='事件名称')

    class Meta:
        db_table = "special_date"
